package cn.tedu.cinema.movie.mapper;

import cn.tedu.cinema.movie.pojo.dto.MovieQuery;
import cn.tedu.cinema.movie.pojo.entity.Movie;
import cn.tedu.cinema.movie.pojo.vo.MovieVO;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MovieMapper {

    void insertMovie(Movie movie);

    void updateMovie(Movie movie);

    void deleteMovieById(Long id);

    List<MovieVO> selectMovie(MovieQuery movieQuery);

    MovieVO selectMovieById(Long id);
}
